Method, Device and System for Controlling Web Page Access

ABSTRACT

A method, device and system for controlling web page access. The method includes receiving an access request message of a user, obtaining an Internet access account of the user according to the access request message, obtaining a corresponding user rank identifier according to the Internet access account, and sending the access request message with the user rank identifier to a content provider server, so that the content provider server returns corresponding web page information to the user according to the user rank identifier.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 13/727,480, filed on Dec. 26, 2012, which is a continuation of International Application No. PCT/CN2012/073794, filed on Apr. 11, 2012, which claims priority to Chinese Patent Application No. 201110175018.1, filed on Jun. 27, 2011. The aforementioned patent applications are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

The present disclosure relates to the field of communication technologies, and in particular, to a method, a device and a system for controlling web page access.

BACKGROUND

A green Internet access service, as implied by the name, provides clean and moral, secure, and civilized network environment and content for users who subscribe to this service. In this service, through content filtering or a content control technology, a user is forbidden or restricted from accessing illegal Internet content such as pornographic, violent, and reactionary content. The essence of green Internet access is to classify web pages and control access to different types of web pages by a user. Currently, there are mainly two solutions. One is to perform access control through a client or a browser, and the other is to control user's network access through a network device. Both solutions adopt a technology similar to a blacklist or a whitelist, which are as follows.

A basic principle of a blacklist technology is that a device provider provides a blacklist in advance. The blacklist includes not only an illegal uniform/universal resource locator (URL) but also an illegal keyword. If a URL or a keyword included in an access request message of the user is in the blacklist, the access is forbidden. A specific processing procedure is that after obtaining the access request message of the user, extracting the URL and the keyword in the access request message of the user, querying the blacklist according to the extracted URL and keyword, and determining, according to a query result, whether the user may perform the access. Classification accuracy of a URL blacklist or a keyword blacklist obtained in the blacklist through a classification technology and performance of querying the blacklist are key points of this solution, and both have technical difficulties currently. The URL blacklist in a URL blacklist is generally provided by a device provider or a security vendor. A maintenance vendor of the URL blacklist is not a professional content provider, and lacks high accuracy of classifying legal URLs and illegal URLs. Therefore, a risk of a check error or a check omission exists. In addition, because matching of the URL and the keyword needs to be performed in real time, analysis and matching performed according to the blacklist need to consume many processing resources of an access control device. If a large number of users request to access a network in a short period of time, performing the access control reduces user's access speed and affects user's Internet access experience.

In view of a defect that a check error may occur in the blacklist technology, the prior art provides a whitelist technology. A basic principle of the whitelist technology is that an access control device provider pre-specifies a range of network resources that may be accessed by users, namely, a whitelist. If a URL that a user requests to access is included in the whitelist, the user is allowed to perform the access, if a URL that a user requests to access is not included in the whitelist, the access is forbidden. Similar to the blacklist technology, in the whitelist technology, matching also needs to be performed on the whitelist, which also consumes plenty of processing resources of the access control device.

During a process of implementing the present disclosure, the inventor finds that the prior art has at least the following problems.

Due to limitations of a processing capability and a storage capability of the access control device, access control technologies including the blacklist technology and the whitelist technology generally implement only web site-level control (in the blacklist technology, if a certain part of a URL extracted from an access request message of a user is consistent with a URL of an illegal web site in the URL blacklist, the access is forbidden, in the whitelist technology, if a certain part of a URL extracted from an access request message of a user is consistent with a URL of a legal web site in the URL whitelist, the access is allowed). For a case that a web site includes web pages of multiple control levels, for example, both legal web pages and illegal web pages, it is impractical to store URLs of multiple web pages on a same web site in a blacklist or a whitelist, and therefore, web page-level access control cannot be implemented. Therefore, in the prior art, there are some problems in granularity of access control, and it is difficult to implement fine-granularity access control.

SUMMARY

To overcome a defect that fine-granularity access control is difficult to implement in the prior art, embodiments of the present disclosure provide a method, a device, and a system for controlling web page access.

An embodiment of the present disclosure provides a method performed by a deep packet inspection device on a network for controlling web page access, where the method includes: receiving an access request message of a user, obtaining an Internet access account of the user according to the access request message, and obtaining a corresponding user rank identifier according to the Internet access account, and including the user rank identifier in the access request message, and sending the access request message with the user rank identifier to a content provider server to request the content provider server to return corresponding web page information to the user according to the user rank identifier.

An embodiment of the present disclosure provides a method for controlling web page access, where the method includes receiving an access request message, and obtaining a user rank identifier from the access request message, filtering, according to the user rank identifier, content in a web page corresponding to a uniform resource locator URL included in the access request message, and returning filtered web page information to a user.

An embodiment of the present disclosure provides a deep packet inspection device, including a first receiving module configured to receive an access request message of a user, and obtain an Internet access account of the user according to the access request message, a first obtaining module configured to obtain a corresponding user rank identifier according to the Internet access account, and a first sending module configured to include the user rank identifier obtained by the first obtaining module in the access request message, and send the access request message with the user rank identifier to a content provider server to request the content provider server to return corresponding web page information to the user according to the user rank identifier.

An embodiment of the present disclosure provides a content provider server, including a second receiving module configured to receive an access request message with a user rank identifier, a second obtaining module configured to obtain the user rank identifier from the access request message received by the second receiving module, a processing module configured to filter, according to the user rank identifier obtained by the second obtaining module, content in a web page corresponding to a URL included in the access request message, and a second sending module configured to return web page information filtered by the processing module to a user.

An embodiment of the present disclosure provides a system for controlling web page access, where the system includes the foregoing deep packet inspection device and content provider server.

By using the method, device and system for controlling web page access provided in the embodiments of the present disclosure, a user rank identifier is embedded in an access request message of a user and sent to a content provider server, so that the content provider server returns corresponding web page information to the user according to different user rank identifiers. Therefore, it is implemented that the content provider server performs content ranking and filtering according to the user rank identifier, and web page-level access control is implemented, thereby improving granularity of content control.

BRIEF DESCRIPTION OF THE DRAWINGS

To illustrate the technical solutions in the embodiments of the present disclosure or in the prior art more clearly, accompanying drawings required for describing the embodiments or the prior art are briefly introduced in the following. The accompanying drawings in the following description are merely some embodiments of the present disclosure, and persons of ordinary skill in the art may further obtain other drawings according to these accompanying drawings without creative efforts.

FIG. 1 is a flowchart of a method for controlling web page access according to an embodiment of the present disclosure;

FIG. 2 is another flowchart of a method for controlling web page access according to an embodiment of the present disclosure;

FIG. 3 is a flowchart of a method for controlling web page access applied in a telecom service according to an embodiment of the present disclosure;

FIG. 4 is a schematic structural diagram of a deep packet inspection device according to an embodiment of the present disclosure.

FIG. 5 is another schematic structural diagram of a deep packet inspection device according to an embodiment of the present disclosure.

FIG. 6 is another schematic structural diagram of a deep packet inspection device according to an embodiment of the present disclosure.

FIG. 7 is a schematic structural diagram of a content provider server according to an embodiment of the present disclosure; and

FIG. 8 is a schematic structural diagram of a system for controlling web page access according to an embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more comprehensible, the following clearly and completely describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. The embodiments to be described are merely part rather than all of the embodiments of the present disclosure. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

To overcome defects that web page-level access control cannot be implemented and control granularity is not fine in the prior art, the embodiments of the present disclosure provide a solution. A user rank identifier is embedded in an access request message of a user and sent to a content provider server, so that the content provider server returns corresponding web page information to the user according to different user rank identifiers. Therefore, it is implemented that the content provider server performs content ranking and filtering according to the user rank identifier, and web page-level access control is implemented, thereby improving granularity of content control.

FIG. 1 is a flowchart of a method for controlling web page access according to an embodiment of the present disclosure. As shown in FIG. 1, the method includes:

Step 100: Receive an access request message of a user, and obtain an Internet access account of the user according to the access request message.

After authentication of the Internet access account of the user succeeds, the user sends an access request message with a URL to a deep packet inspection device, to request to access a network. According to the access request message, the deep packet inspection device obtains the Internet access account used by the user to access the network.

Giving more details, manners for the deep packet inspection device to obtain, according to the access request message, the Internet access account used by the user to access the network include, but are not limited to the following two types:

Manner 1: Obtain a corresponding Internet access account of the user based on an Internet Protocol (IP) address. The deep packet inspection device obtains the IP address included in the access request message, and finds the Internet access account corresponding to the IP address included in the access request message by searching according to a correspondence list that contains data regarding a correspondence between IP addresses and Internet access accounts.

Optionally, the correspondence list regarding a correspondence between IP addresses and Internet access accounts is obtained in the following way. Before receiving the access request message, and in a process of performing authentication of the Internet access account on the user and an authentication authorization accounting (AAA) server, the deep packet inspection device obtains a remote authentication dial-in user service (RADIUS) packet sent by the AAA server, obtains an IP address and an Internet access account from the RADIUS packet, and stores the correspondence list that contains data regarding a correspondence between IP addresses and Internet access accounts in the deep packet inspection device and accordingly in advance, or, after receiving the access request message of the user, the deep packet inspection device sends a request to an AAA server to obtain the correspondence list regarding a correspondence between IP addresses and Internet access accounts.

Manner 2: Obtain a corresponding Internet access account of the user based on identity authentication information. For the purpose of security, the user inserts an Internet access security certificate that includes the identity authentication information of the user into a universal serial bus (USB) interface of a host when accessing the network. When the access request message is sent, the identity authentication information is included in the access request message. The deep packet inspection device may obtain the identity authentication information of the accessing user from the access request message, and finds the corresponding Internet access account of the user by searching from a correspondence list which contains data regarding a correspondence between identity authentication information and Internet access accounts and is stored in the deep packet inspection device or obtained from an authentication server.

Step 101: Obtain a corresponding user rank identifier according to the Internet access account of the user.

The deep packet inspection device further obtains the corresponding user rank identifier according to the Internet access account of the user and a correspondence list that contains data regarding a correspondence between Internet access accounts and user rank identifiers.

The foregoing correspondence list regarding a correspondence between Internet access accounts and user rank identifiers may be stored in the deep packet inspection device, and may also be stored in another device, such as a user ranking device. The obtaining the corresponding user rank identifier according to the correspondence between Internet access accounts and user rank identifiers is as follows:

When the correspondence list regarding a correspondence between Internet access accounts and user rank identifiers is pre-stored in the deep packet inspection device, the deep packet inspection device searches the locally stored correspondence list that contains data regarding a correspondence between Internet access accounts and user rank identifiers and finds the user rank identifier corresponding to the obtained Internet access account. Using this manner, the user rank identifier may be obtained quickly and a utilization ratio of a network device may be improved; or

When the correspondence list regarding a correspondence between Internet access accounts and user rank identifiers is not stored in the deep packet inspection device, but stored in another device (such as the user ranking device), the deep packet inspection device receives the access request message sent by the user, obtains the Internet access account of the user from the access request message, and sends a query request message with the obtained Internet access account to the user ranking device. According to the locally stored correspondence list that contains data regarding a correspondence between Internet access accounts and user rank identifiers, the user ranking device finds the user rank identifier corresponding to the Internet access account in the query request through querying, and returns the user rank identifier to the deep packet inspection device. Using this manner, storage space of the deep packet inspection device may be saved.

Step 102: Include the user rank identifier in the access request message, and send the access request message with the user rank identifier to a content provider server, so that the content provider server returns corresponding web page information to the user according to the user rank identifier and the web page address.

After including the user rank identifier in the access request message, the deep packet inspection device sends the access request message with the user rank identifier to a content provider server, so that the content provider server returns corresponding web page information to the user according to the user rank identifier in the received access request message.

It should be noted that in step 100 and step 101, if the deep packet inspection device cannot obtain the Internet access account of the user or the user rank identifier, namely, if an attempt to obtain the Internet access account of the user or the user rank identifier fails, the deep packet inspection device may return an access rejection message to the user that sends the access request message, or discard the access request message.

Using the method for controlling web page access provided in this embodiment, the user rank identifier is included in the access request message and sent to the content provider server, so that the content provider server returns the corresponding web page information to the user according to the user rank identifier. Therefore, it is implemented that the content provider server performs content ranking and filtering according to the user rank identifier, and web page-level content control is implemented, thereby improving granularity of Internet access content control.

In addition, in the technical solution provided in this embodiment of the present disclosure, the deep packet inspection device does not need to store and update a blacklist or whitelist database, and does not need to perform a matching calculation on a blacklist or whitelist in a process of performing web page access control, thereby lightening a storage load and a processing load of the deep packet inspection device.

FIG. 2 is another flowchart of a method for control web page access according to an embodiment of the present disclosure. As shown in FIG. 2, the method includes:

Step 200: Receive an access request message with a user rank identifier.

A user sends an access request message to a deep packet inspection device after authentication of an Internet access account succeeds. According to the access request message, the deep packet inspection device obtains the Internet access account used by the user to access the Internet, obtains a corresponding user rank identifier according to the Internet access account, and adds the user rank identifier to the access request message. For methods for the deep packet inspection device to obtain, according to the access request message, the Internet access account used by the user to access a network and to obtain the corresponding user rank identifier according to the Internet access account mentioned in this embodiment, reference may be made to the manners mentioned in the method for sending and processing web page information in the foregoing embodiment of the present disclosure.

A content provider server receives the access request message with the user rank identifier and is sent by the deep packet inspection device.

Step 201: Obtain the user rank identifier included in the access request message, filter, according to the user rank identifier, content in a web page corresponding to a URL included in the access request message, and return filtered web page information to the user.

The content provider server obtains the user rank identifier from the received access request message, and after ranking and filtering, according to the user rank identifier, the content in the web page corresponding to the URL included in the access request message, returns a filtered web page to the user. For example, when the content provider server is a web page server of a web site corresponding to the URL included in the access request message, the web page server performs ranking and filtering according to the user rank identifier, and selects corresponding content for displaying. The web page server may even display content in a same web page based on different user rank identifiers. Alternatively, when the content provider server is a search engine server, the search engine server pre-stores a mapping table of a URL and a link address, where a different link address corresponds to a different user rank identifier. For example, referring to Table 1, a URL “http://www.companycpp.com” corresponds to 3 link addresses, which are “http://www.companycpp_a.com”, “http://www.companycpp_b.com” and “http://www.companycpp_c.com”, where “http://www.companycpp_a.com” corresponds to a user rank identifier UserRankA, “http://www.companycpp_b.com” corresponds to a user rank identifier UserRankB, and “http://www.companycpp_c.com” corresponds to a user rank identifier UserRankC. After receiving an access request message, the search engine server displays a corresponding link address according to a URL and a user rank identifier that are included in the access request message, and completes a rank-based display. For example, assuming that a URL included in the access request message is “http://www.companycpp.com” and a user rank identifier is UserRankB, the search engine server selects a link address “http://www.companycpp_b.com” in Table 1 for displaying to the user.

TABLE 1 URL Corresponding Link Address User Rank Identifier http://www.companycpp.com http://www.companycpp_a.com UserRankA http://www.companycpp_b.com UserRankB http://www.companycpp_c.com UserRankC

Using the method for controlling web page access provided in this embodiment, the access request message with the user rank identifier is received, ranking and filtering is performed on web page content according to the user rank identifier, and the filtered web page information is returned to the user. It is implemented that the content provider server performs content ranking and filtering according to the user rank identifier, and web page-level content control is implemented, thereby improving granularity of Internet access content control.

To describe the procedure of the method for controlling web page access more clearly, the following combines the method with a service of an telecom operator, and gives more detailed description through a service on a service platform of the telecom operator:

FIG. 3 is a flowchart of a method for controlling web page access applied in a telecom service according to an embodiment of the present disclosure. As shown in FIG. 3, a specific processing procedure is as follows.

Step (1): A controller launches an internet access control service on a service platform of an operator.

Step (2): The controller receives a control account returned by the service platform, and sets a control password.

Step (3): The service platform sends an internet access account of a user to an authentication server, and sends user information of the controller to a user ranking device. The user information of the controller includes a control account and a control password used by the controller to log in to the user ranking device, and an internet access account of a user whose rank may be set by the controller.

Step (4): The controller uses the control account and the control password to log in to the user ranking device and sets a user rank identifier of the internet access account of the user.

Step (5): The user ranking device stores a correspondence list that contains data regarding a correspondence between internet access accounts and set user rank identifiers.

Step (6): The user ranking device sends the correspondence list which contains data regarding a correspondence between internet access accounts and user rank identifiers and set by the controller to a deep packet inspection device.

Step (7): The user sends a network access request message with the internet access account to a network access device.

In a fixed communication network, the network access device may be a broadband remote access server (BRAS), in a mobile communication network, the network access device may be a packet data serving node (PDSN) or a gateway general packet radio service (GPRS) support node (GGSN).

Step (8): The network access device forwards the network access request message with the internet access account and is for accessing a network to the authentication server, so that the authentication server performs authentication based on the account on the user who accesses the network through the network access device.

Step (9): After authenticating, according to the locally stored internet access account, the user who accesses the network, the authentication server sends a network access response that allows the user to access the network to the network access device.

Step (10): The network access device allocates an IP address to the user according to the network access response.

Step (11): The network access device sends, to the authentication server, a billing start request with a correspondence list that contains data regarding a correspondence between internet access accounts and IP addresses.

Step (12): The deep packet inspection device receives the correspondence list which contains data regarding a correspondence between internet access accounts and IP addresses and sent by the authentication server, where the correspondence list is obtained by the authentication server according to the billing start request.

Step (13): The deep packet inspection device receives an access request message sent by the user.

Step (14): The deep packet inspection device obtains the IP address of the user from the access request message, and obtains the internet access account of the user according to the correspondence list that contains data regarding a correspondence between internet access accounts and IP addresses, wherein the correspondence list is stored in the deep packet inspection device.

Step (15): According to the obtained internet access account of the accessing user, the deep packet inspection device searches the locally stored correspondence list that contains data regarding a correspondence between internet access accounts and user rank identifiers and finds the user rank identifier of the user, and includes the user rank identifier found by searching in the access request message.

Step (16): The deep packet inspection device sends the access request message with the user rank identifier to a content provider server.

Step (17): The content provider server ranks and filters web page content according to the user rank identifier in the access request message.

Step (18): The content provider server displays specific content that complies with the user rank identifier of the user to the user.

Persons of ordinary skill in the art should understand that all or part of the steps of the foregoing method embodiments may be implemented by a program instructing relevant hardware. The program may be stored in a computer readable storage medium. When the program runs, the steps of the foregoing method embodiments are performed. The storage medium may include any medium that is capable of storing program codes, such as a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

FIG. 4 is a schematic structural diagram of a deep packet inspection device according to an embodiment of the present disclosure. As shown in FIG. 4, the device includes a first receiving module 11, a first obtaining module 12, and a first sending module 13. The first receiving module 11 is configured to receive an access request message of a user, and obtain an Internet access account of the user according to the access request message; the first obtaining module 12 is configured to obtain a corresponding user rank identifier according to the Internet access account obtained by the first receiving module 11, and the first sending module 13 is configured to include the user rank identifier obtained by the first obtaining module 12 in the access request message, and send the access request message with the user rank identifier to a content provider server, so that the content provider server returns corresponding web page information to the user according to the user rank identifier.

In this embodiment of the disclosure, the first receiving module 11 is configured to obtain an IP address from the access request message, and search, according to the obtained IP address, a correspondence list which contains data regarding a correspondence between IP addresses and Internet access accounts and is stored in the deep packet inspection device or obtained from an authentication server and find a corresponding Internet access account of the user. Or the first receiving module 11 is configured to obtain identity authentication information of the user from the access request message, and search, according to the obtained identity authentication information, a correspondence list which contains data regarding a correspondence between identity authentication information and Internet access accounts and is stored in the deep packet inspection device or obtained from an authentication server, and find a corresponding Internet access account of the user.

The first obtaining module 12 is configured to send a query request with the Internet access account to a user ranking device, and receive a user rank identifier returned by the user ranking device, where the user rank identifier is a user rank identifier which corresponds to the Internet access account included in the query request and is found by the user ranking device by searching the stored correspondence list that contains data regarding a correspondence between Internet access accounts and user rank identifiers.

FIG. 5 is another schematic structural diagram of a deep packet inspection device according to an embodiment of the present disclosure. As shown in FIG. 5, based on the foregoing embodiment, the deep packet inspection device further includes a storage module 14. The storage module 14 is configured to store the correspondence list that contains data regarding a correspondence between Internet access accounts and user rank identifiers. Therefore, the first obtaining module 12 is configured to search the correspondence list which contains data regarding a correspondence between Internet access accounts and user rank identifiers and pre-stored in the storage module 14 and find a user rank identifier corresponding to the Internet access account.

For functions and processing procedure of the deep packet inspection device provided in this embodiment, reference may be made to the foregoing method embodiments, and details are not repeatedly described here.

Using the deep packet inspection device provided in this embodiment, the user rank identifier is included in the access request message and sent to the content provider server, so that the content provider server returns the corresponding web page information to the user according to the user rank identifier. Therefore, it is implemented that the content provider server performs content ranking and filtering according to the user rank identifier, and web page-level content control is implemented, thereby improving granularity of Internet access content control.

FIG. 6 is another schematic structural diagram of a deep packet inspection device according to an embodiment of the present disclosure. As shown in FIG. 6, the deep packet inspection device includes:

A first receiving module 601 is configured to receive an access request message of a user, where the access request message includes a web page address that the user intends to access and user information of the user, and the user information includes address information and/or identity authentication information of the user.

The address information of the user includes IP address information of the user, and may also include media access control (MAC) address information of the user, and so on. Address information is not limited here as long as the address information can indicate location information of the user.

An account obtaining module 605 is configured to obtain an Internet access account of the user according to the address information and/or the identity authentication information of the user.

In one case, the account obtaining module 605 may, according to the IP address included in the access request message, search a correspondence list that contains data regarding a correspondence between IP addresses and Internet access accounts and find a corresponding Internet access account of the user, wherein the correspondence list is stored in the deep packet inspection device; or search a correspondence list which contains data regarding a correspondence between IP addresses and Internet access accounts and obtained from an authentication server and find a corresponding Internet access account of the user.

In another case, the account obtaining module 605 may, according to the identity authentication information which is of the user and included in the access request message, search a correspondence list that contains data regarding a correspondence between identity authentication information and Internet access accounts and find a corresponding Internet access account of the user, wherein the correspondence list is stored in the deep packet inspection device; or search a correspondence list which contains data regarding a correspondence between identity authentication information and Internet access accounts and obtained from an authentication server and find a corresponding Internet access account of the user.

A first obtaining module 610 is configured to obtain a user rank identifier of the user according to the Internet access account obtained by the account obtaining module 605.

In one case, the first obtaining module 610 may include a requesting unit 6101 configured to send a query request with the Internet access account to a user ranking device; and a receiving unit 6105 configured to receive a user rank identifier returned, according to the Internet access account, by the user ranking device, where the user rank identifier is a user rank identifier which corresponds to the Internet access account and is found by the user ranking device by searching, according to the Internet access account included in the query request, stored a correspondence list that contains data regarding a correspondence between Internet access accounts and user rank identifiers.

In another case, the first obtaining module 610 may search a stored correspondence list that contains data regarding a correspondence between Internet access accounts and user rank identifiers and find a user rank identifier corresponding to the Internet access account.

A first sending module 615 is configured to include the user rank identifier obtained by the first obtaining module 610 in the access request message, and send the access request message with the user rank identifier to a content provider server, so that the content provider server returns corresponding web page content to the user according to the user rank identifier and the web page address that the user intends to access.

Using the deep packet inspection device provided in this embodiment, the user rank identifier is included in the access request message and sent to the content provider server, so that the content provider server returns the corresponding web page information to the user according to the user rank identifier. Therefore, it is implemented that the content provider server performs content ranking and filtering according to the user rank identifier, and web page-level content control is implemented, thereby improving granularity of Internet access content control.

FIG. 7 is a schematic structural diagram of a content provider server according to an embodiment of the present disclosure. As shown in FIG. 7, the content provider server includes a second receiving module 21, a second obtaining module 22, a processing module 23, and a second sending module 24.

The second receiving module 21 is configured to receive an access request message with a user rank identifier.

The second obtaining module 22 is configured to obtain the user rank identifier from the access request message received by the second receiving module 21.

The processing module 23 is configured to filter, according to the user rank identifier included in the access request message obtained by the second obtaining module 22, content in a web page corresponding to a URL included in the access request message.

The second sending module 24 is configured to return web page information filtered by the processing module 23 to a user.

For functions and processing procedures of the content provider server provided in this embodiment, reference may be made to the foregoing method embodiments, and details are not repeatedly described here.

Using the content provider server provided in this embodiment, the access request message with the user rank identifier is received, ranking and filtering is performed according to the user rank identifier, and the corresponding web page information is returned to the user. It is implemented that the content provider server performs content ranking and filtering according to the user rank identifier, and web page-level content control is implemented, thereby improving granularity of Internet access content control.

FIG. 8 is a schematic structural diagram of a system for controlling web page access according to an embodiment of the present disclosure. As shown in FIG. 8, the system includes a deep packet inspection device 1 and a content provider server 2. The deep packet inspection device 1 may be the deep packet inspection device shown in FIG. 4 to FIG. 6, and the content provider server may be the content provider server shown in FIG. 7. For a specific structure, functions and processing procedures of the devices in the system for controlling web page access provided in this embodiment, reference may be made to the foregoing method and device embodiments, and details are not repeatedly described here.

In the foregoing embodiments, the description of each embodiment has its emphasis, and for part that is not described in detail in a certain embodiment, reference may be made to the relevant description of other embodiments. Finally, it should be noted that the foregoing embodiments are intended for describing the technical solutions of the present disclosure rather than limiting the present disclosure. Although the present disclosure is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent substitutions to part of technical features. However, these modifications or substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure. 

What is claimed is:
 1. A method performed by a deep packet inspection device on a network for controlling web page access, comprising: receiving an access request message of a user, wherein the access request message includes a web page address of a web page that the user intends to access and user information of the user; obtaining an Internet access account of the user according to the user information; assigning to the access request message a user rank identifier selected from a plurality of preset user rank identifiers according to the Internet access account; and sending the access request message with the assigned user rank identifier to a content provider server to request the content provider server to return corresponding web page content to the user according to the user rank identifier and the web page address.
 2. The method for controlling web page access according to claim 1, wherein obtaining the Internet access account of the user comprises: obtaining an Internet Protocol (IP) address from the access request message; and searching a first correspondence list according to the obtained IP address to find the corresponding Internet access account of the user, wherein the first correspondence list contains data regarding a correspondence between IP addresses and Internet access accounts, and wherein the first correspondence list is stored in the deep packet inspection device or is obtained from an authorization authentication accounting (AAA) server.
 3. The method for controlling web page access according to claim 1, wherein obtaining the internet access account of the user comprises: obtaining an identity authentication information of the user from the access request message; and searching a second correspondence list according to the obtained identity authentication information to find the corresponding Internet access account of the user, wherein the second correspondence list contains data regarding a correspondence between identity authentication information and Internet access accounts, and wherein the second correspondence list is stored in the deep packet inspection device or obtained from the AAA server.
 4. The method for controlling web page access according to claim 2, wherein obtaining the user rank identifier of the user comprises: searching a third correspondence list that contains data regarding a correspondence between Internet access accounts and user rank identifiers; and finding the user rank identifier corresponding to the Internet access account, wherein the third correspondence list is pre-stored in the deep packet inspection device.
 5. The method for controlling web page access according to claim 2, wherein obtaining the user rank identifier of the user comprises: sending a first query request with the Internet access account to a user ranking device; and receiving the user rank identifier returned, according to the Internet access account, by the user ranking device.
 6. The method for controlling web page access according to claim 1, wherein obtaining the user rank identifier of the user comprises: searching the third correspondence list containing data regarding the correspondence between Internet access accounts and user rank identifiers; and finding the user rank identifier corresponding to the Internet access account, wherein the third correspondence list is pre-stored in the deep packet inspection device.
 7. The method for controlling web page access according to claim 1, wherein obtaining the user rank identifier of the user comprises: sending a second query request with the Internet access account to the user ranking device; and receiving the user rank identifier returned, according to the Internet access account, by the user ranking device.
 8. A deep packet inspection device, comprising: a memory; and a computer processor coupled to the memory, wherein the computer processor is configured to: receive an access request message of a user, wherein the access request message includes a web page address of a web page that the user intends to access and user information of the user; obtain an Internet access account of the user according to the user information; assign to the access request message a user rank identifier of the user according to the Internet access account; and send the access request message with the assigned user rank identifier to a content provider server to request the content provider server to return corresponding web page content to the user according to the user rank identifier and the web page address.
 9. The deep packet inspection device according to claim 8, wherein the computer processor is further configured to: obtain an Internet Protocol (IP) address from the access request message; search, according to the obtained IP address, a first correspondence list that contains data regarding a correspondence between IP addresses and Internet access accounts, wherein the first correspondence list is stored in the deep packet inspection device or is obtained from an authentication server; and find the corresponding Internet access account of the user.
 10. The deep packet inspection device according to claim 8, wherein the computer processor is further configured to: obtain an identity authentication information of the user from the access request message; search, according to the obtained identity authentication information, a second correspondence list that contains data regarding a correspondence between identity authentication information and Internet access accounts, wherein the second correspondence list is stored in the deep packet inspection device or obtained from an authentication server; and find the corresponding Internet access account of the user.
 11. The deep packet inspection device according to claim 9, wherein the computer processor is further configured to: send a first query request with the Internet access account to a user ranking device; and receive the user rank identifier returned, according to the Internet access account, by the user ranking device.
 12. The deep packet inspection device according to claim 9, wherein the computer processor is further configured to: store a third correspondence list regarding a correspondence between Internet access accounts and user rank identifiers; search the third correspondence list regarding the correspondence between Internet access accounts and user rank identifiers; and find the user rank identifier corresponding to the Internet access account.
 13. The deep packet inspection device according to claim 8, wherein the computer processor is further configured to: send a second query request with the Internet access account to the user ranking device; and receive the user rank identifier returned, according to the Internet access account, by the user ranking device.
 14. The deep packet inspection device according to claim 8, wherein the computer processor is further configured to: store the third correspondence list regarding the correspondence between Internet access accounts and user rank identifiers; search the third correspondence list regarding the correspondence between Internet access accounts and user rank identifiers; and find the user rank identifier corresponding to the Internet access account.
 15. A system for controlling web page access, comprising: a deep packet inspection device; and a content provider server coupled to the deep packet inspection device, wherein the deep packet inspection device comprises: a memory; and a computer processor coupled to the memory, wherein the computer processor is configured to: receive an access request message of a user, wherein the access request message includes a web page address of a web page that the user intends to access and user information of the user, wherein the user information comprises at least one of address information and identity authentication information of the user; obtain an Internet access account of the user according to the user information; obtain a user rank identifier of the user according to the Internet access account; include the user rank identifier obtained in the access request message; and send the access request message with the user rank identifier to a content provider server to request the content provider server to return corresponding web page content to the user according to the user rank identifier and the web page address, wherein the content provider server is configured to: receive the access request message, wherein the access request message includes the web page address that the user intends to access and the user rank identifier of the user; obtain the user rank identifier from the access request message received; filter, according to the user rank identifier obtained, content in the web page corresponding to the web page address; and return filtered web page content to the user.
 16. The system for controlling web page access according to claim 15, wherein the computer processor is further configured to: obtain an Internet Protocol (IP) address from the access request message; search, according to the obtained IP address, a first correspondence list that contains data regarding a correspondence between IP addresses and Internet access accounts, wherein the first correspondence list is stored in the deep packet inspection device or obtained from an authentication server; and find the corresponding Internet access account of the user.
 17. The system for controlling web page access according to claim 15, wherein the computer processor is further configured to: obtain the identity authentication information of the user from the access request message; search, according to the obtained identity authentication information, a second correspondence list that contains data regarding a correspondence between identity authentication information and Internet access accounts, wherein the second correspondence list is stored in the deep packet inspection device or obtained from the authentication server; and find the corresponding Internet access account of the user.
 18. The system for controlling web page access according to claim 15, wherein the computer processor is further configured to: send a first query request with the Internet access account to a user ranking device; and receive the user rank identifier returned, according to the Internet access account, by the user ranking device.
 19. The system for controlling web page access according to claim 15, wherein the computer processor is further configured to: store the third correspondence list regarding a correspondence between Internet access accounts and user rank identifiers; search the third correspondence list; and find the user rank identifier corresponding to the Internet access account. 